package com.cskaoyan.market.service;


import com.cskaoyan.market.bo.WxOrderCommentBo;
import com.cskaoyan.market.bo.WxOrderListBo;
import com.cskaoyan.market.bo.WxOrderSubmitBo;
import com.cskaoyan.market.db.domain.MarketOrderGoods;
import com.cskaoyan.market.db.domain.MarketUser;
import com.cskaoyan.market.vo.WxOrderDetailVo;


public interface WxOrderService {


    Object list(MarketUser user,WxOrderListBo wxOrderListBo);


    WxOrderDetailVo detail(Integer orderId);

//    Integer refund(Integer orderId,Short statusCode);
//
//    Integer cancel(Integer orderId, short statusCode);
//
//    Integer delete(Integer orderId);
//
//    Integer confirm(Integer orderId, short statusCode);
//
//    Integer prepay(Integer orderId, short prepay);

    Integer getUserID();

    Integer updateOrder(Integer orderId, Short statusCode);

    Integer submit(WxOrderSubmitBo wxOrderSubmitBo, Integer userId);

    MarketOrderGoods goods(Integer orderId, Integer goodsId);

    Integer comment(WxOrderCommentBo wxOrderCommentBo);
}
